
/* 网格组件 */
.gy-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
}

/* 网格中的格子 */
.gy-grid > .gy-grid-item{
  position: relative;
  flex: 1 1 33%;
  box-sizing: border-box;
  padding: 1.2rem 0;
  text-align: center;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

/* 默认是3列 */
.gy-grid .gy-grid-item:nth-child(3n){
  border-right: none;
}

/* grid内容区 */
.gy-grid > .gy-grid-item > .gy-grid-icon {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: .5rem;
}
.gy-grid > .gy-grid-item > .gy-grid-label {
  font-size: .6rem;
  color: #333;
}

/* 不需要边框时取消容器上的border */
.gy-grid.no-border {
  border: none;
}

/* 不需要边框时取消格子上所有的border */
.gy-grid.no-border > .gy-grid-item {
  border: none !important;
}


/* 两列网格 */
.gy-grid.gy-grid-2 .gy-grid-item {
  border-right: 1px solid #ddd;
  flex-basis: 50%;
  padding: 1.8rem 0;
}
.gy-grid.gy-grid-2 .gy-grid-item:nth-child(2n){
  border-right: none;
}


/* 四列网格 */
.gy-grid.gy-grid-4 .gy-grid-item {
  border-right: 1px solid #ddd;
  flex-basis: 25%;
  padding: .9rem 0;
}
.gy-grid.gy-grid-4 .gy-grid-item:nth-child(4n){
  border-right: none;
}


/* 五列网格 */
.gy-grid.gy-grid-5 .gy-grid-item {
  border-right: 1px solid #ddd;
  flex-basis: 20%;
  padding: .6rem 0;
}
.gy-grid.gy-grid-5 .gy-grid-item:nth-child(5n){
  border-right: none;
}